package com.hjh.shirodemo.repository;

import com.hjh.shirodemo.entity.UserBean;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserBeanRepository extends JpaRepository<UserBean,Long>{
    public UserBean findUserByUsrName(String usrName);

    public List<UserBean> findUserByUsrNameAndUsrPassword(String usrName, String userPassword);
}
